﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using IFServerDLL.Model;
using HCY.CTP.DBShangZheng;

namespace IFClientDLL
{
    public interface IClient
    {
        AccountBase Account { get; }
        BindingList<OrderBase> OrderHistory { get; }
        BindingList<TradeBase> TradeHistory { get; }
        BindingList<TradeOnHand> TradeOnHand { get; }
        BindingList<TradeGroupBase> TradeGroup { get; }
        void OnGetOrder(OrderBase order);
        void OnGetTrade(TradeBase trade);
        void OnGetMarketData(MyIF myif);
    }
}
